﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Services ;
using AppDAL;
using AppBIZ;

namespace UIDocument
{
    public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        [WebMethod]                                                  
        public static bool Login(string userid, string password)
        {
            Person person = new Person();
            person.UserId = userid;
            person.Password = password;
            BizPerson bizPerson = new BizPerson();
            bizPerson.Login(person);
            return true;
        }
    }
}